<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <title>Document</title>
  </head>
  <body>
    <form action="#">
      <input type="text" value="" /><br />
      <input type="password" value="" /><br />
      <input type="button" value="" /><br />
      <input type="submit" value="" /><br />
      <button>bbbbb</button>
    </form>
  </body>
  <script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.6.4/jquery.js"></script>
  <script>
    //:input
    $(":input").val("aaaa");
    //:button
    $(":button").val("ccc")
    //:submit
    $(":submit").val("ccc")
    //:text
    $(":text").val("ccc")
    //:password
    $(":password").val("ccc")
  </script>
</html>
